package com.tscnd.core.exception;

public class CheckException extends Exception{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1211460534067071281L;
	
	/**
	 * 错误码
	 */
	private String errorCode;

	public CheckException() {
		super();
	}


	public CheckException(String message,Exception e) {
		super(message,e);
	}
	
	public CheckException(String message) {
		super(message);
	}

	public CheckException(String errorCode, String message) {
		super(message);
		this.errorCode = errorCode;
	}

	public String getErrorCode() {
		return errorCode;
	}

}
